<?php
/*
	插件初始化
*/
namespace jy_wenjstar;
defined('BY_JYA') or exit('error');
function init($plugin){
	$plugin->syscolor=$plugin->plugin_setting('basic')['syscolor']?:'';
	$plugin->plugins=array();
	$plugin->worker_status=array('未启用','正常');
	$plugin->ti_types=array('1'=>'问答题','4'=>'单选题','5'=>'多选题','20'=>'判断题');
	$plugin->tiku_types=array('1'=>'无答案题库','2'=>'有答案题库');
	$plugin->duicuo=array('A'=>'对','B'=>'错');
	$plugin->danan_key=array(
		'0'=>'A',
		'1'=>'B',
		'2'=>'C',
		'3'=>'D',
		'4'=>'E',
		'5'=>'F',
		'6'=>'G',
		'7'=>'H',
		'8'=>'I',
		'9'=>'J',
		'10'=>'K',
	);
	$plugin->formtype=array('1'=>'字符串','3'=>'图片','4'=>'单选框','5'=>'多选框','6'=>'文本','7'=>'地址','8'=>'手机号','9'=>'邮箱','10'=>'多图','11'=>'视频','12'=>'获取手机号','13'=>'位置','14'=>'日期','19'=>'下拉选择框');
}